package com.zhiwei.codesecurity.common.enums;

import com.zhiwei.codesecurity.common.base.IEnum;

public enum InterfaceStatus implements IEnum {
    ENABLE(1, "启用"),
    DISABLE(2, "禁用"),;

    private Integer key;

    private String value;

    private InterfaceStatus(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    @Override
    public Integer getKey() {
        return key;
    }

    @Override
    public String getValue() {
        return value;
    }
}
